<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title></title>
</head>
<body>
    e
</body>
<script>
    // document.addEventListener("keydown",function(e){
    //     console.log("您按下了"+e.key);
    // })
    // document.addEventListener("keypress",function(e){
    //     console.log("您按下了"+e.key);
    // })
    document.addEventListener("keyup",function(e){
        console.log("您按下了"+e.key);
    })
</script>
</html>